Created database entities and adding them to the controllers