Improved comments and removed functions

Improved comments throughout controllers and models
Removed deprecated functions