added dependency to symfony/framework-bundle and fixed some codingstyle issues