Create factory files for both user and project.