Renamed categories to category.
Refactored and beautified manager classes.