Finished basic  routing. Need to refactor