Still needs to be commented and refactored.

Categroy filtering has been added to the lists pages