based on symfony

based on symfony2 and the best practices