set up doctrine in allPost variable..
created eventBundle and doctrine structure.