separate routes and init