Some changes in project entities to work with the data base