start replacing Router by Symfony Routing component and implementing
Symfony HttpFoundation