Initial commit

Pushed refactored scripts to github