Restructuring MapChop into a proper npm project, and cleaning up some code.
Adding an example usage.
Updated the README file.