model loading from file

Models now loaded from a text file containing details of each mode.