Implemented main category.
Move getCategories from template to presenter.