Adds functionality for adding categories