moved python code to separate dir.