setup doctrine