added api.routes property to app