Refactor project into multiple profiles