add code to BasicModel to load from Luna text format