Split out handlers and routes into their own files