Made a few changes to the model and controller

Changes made to allow for relationships between models. Getting some
errors . Working on fixing relationship issues so as to display
appropriate data in the summary tab.