Initial commit of old file which wasn't in version control. Contains basic functions for reading MON files.