Removed routing code
Added routing. Added link handling.