Extracted handlers and routes from main package