Build global model classes