Added support for route specialization

Some refactoring is now needed, which is the next step