Moved logic from Models to Controllers, improved sanitation, normalization and validation