Fixed URL routing. Use urlparse to parse query string. Remove unused route fields from handlers.