Routing added

First try to implement routing