Created factories and Controllers
Merge pull request #1 from brendancwood/master

Created factories and Controllers