Implemented Categories view and controller. Refactoring