Adds routing implementation.

Creates a router that is able to handle controllers and its actions.