Finished intergration of transform module, and added functions to write python script in main (temporarily)