Moving library to be defined as Symfony2 bundle