Basic class structure for entities