added createModelInfo util method to session