Added functionality to create categories