Refactored empty Category SQL. Re-configured nested routes