Major refactoring, is now function with command line arg-ins
Included docstring with license (MIT)