Moving routes into their own class