Redesign the setEntity method for Task
Task's setEntity method currently tries to pull a Project and Priority object from its database table. Since only their respective id's are stored in the table setEntity has to be reworked to account for the data available to it.