I'm just posting this to see if anyone can make sure I'm doing this efficiently and correctly. I want to make sure I have everything working fine before I continue. If you see something I could do better/more efficiently could you also explain how I can do it and why the way you are suggesting is better. It wouldn't let me post it because of the queries so I put it in pastebin
http://pastebin.com/Wv4DQHvp