Added Base Controller and etc.

- All equal methods was moved from Controllers to special Base
Controller which will be extended by others
- Added Catalog controller (it’s a basic controller for extending in
themes and other modules and attaching methods)
- Some code cleaning