copied the template from DoctrineBundle and tried to clean up unused stuff but not surprised that I might have overlooked stuff