This class can be used to manage an hierarchy of categories stored in a MySQL database. It can add, update and delete records of categories to a MySQL database table. It can also retrieve categories under a given category, get top categories, get the largest category and get all categories.