Refactored the models. Worked on controller side for functionality.

Also fixed some model bugs.
More controller functionality. Dummy HTML for testing.