Refactoring to stream line data reading, training, testing and validating
cleanup
new style settings file