Moved category methods to their own file. Implemented update and delete.