reorganizing into mmql module and scripts folder
updating to match new TPSOPT functionality