Implementing console from symfony2