Algorithm tested and working. Now starting refactor for serious final app development.

The first iteration of the algorithm gave acceptable results, so it makes
sense to go forward with the development of the full application.
I'm moving the original files to an 'old' folder so I can start working on
a clean state and using accepted python standards.