refactor config + ProjectModel