setup relationships between db tables in doctrine and added categories table (need to run: php app/console doctrine:schema:update --force - If the category table is not set up in your DB)