moving python code to python folder