Refactored getProjectAllocations and createProjectAllocation into Projectcontrol and ProjectController