Add reference generated code, some work on VelocityModel.py