added the record attributes project, start, end and date to an uniqueconstraint
refactored services and models
modified the uniqueconstraint on the record attributes