moved python code to a separate dir