Added dynamic loading of models