some cleanup, moved everything to python package, removed unused stuff, more cleanup required