Create a global model class