added picture to categories, refactor main_page