Fixed orm type of fields on category
Created category controller and refactored listByCategory action and page