Added todo repository
Removed all comments from controllers, the larger the file size the more load delay, so saving about 25kb
Converted all controllers to use model and repository
No db calls should exist in a controller
Very little lifting should be done there as well. Instead do the lifting in your model and your db calls in the repository