Changed the way categories will be stored in database - embeded documents instead of relations by key