implemented some url routing. things are almost hooked up