api: add app:run rake tasks
api: cleanup