add projects and refactor app migration