added ability to have different models for different classes and added yaw and pitch to entities