Adding database entity classes