Use class instance variable for ListController

This changes the class variable ```@@categories``` into a class instance
variable. This also changes the declaration of the class methods for
this class to adhere to the coding conventions.