Setting up doctrine