Move app to endpoints