Refactored projects into an object.