create entities for the  database