First version of router implemented!