Modelling and adding database entities