Major change to main data file. Converting many methods to being able to read and write binary files. Removed and added new functions as things became more or less needed.