[refactor] app.config, app.constant, app.factory extracted from app