Updating for npm.
Added more detail to legacy.
Comment line fix
Merge pull request #1 from MalucoMarinero/master

Added functions, ready for publish on npm