added missing routes and startup code