Moved vertex data generation to Model class