Added the initial cloned files with some fixes to work for Python 3