Added category models and DAO.
Small changes in REST interface.
Frontend changes