refactor create app view,
prepare rest application