Add model and modify controller

Added model and modified the controller to use the correct entity
framework model
Merge pull request #1 from thefenry/Adding-needed-Objects

Add model and modify controller