created category browser on resources page, refactored and removed some old code