Changed model name to std::string, fixed issues with reading incorrect
material values from model. Removed deprecated functions from Model.