Bootstrap and doctrine setup