adding functionality to modem_new with plotting, reading/writing data and model files