Changed schema: pulled categories out of categoryType. Refactored mongo queries. Changed category insertion/deletions