Create entity classes