Code Cleanup. Add python script as proof of concept