added some simple file i/o tests.
minor fixes to python read_img, and make python folder act like a module.