Get rid of lib directory to become of it a module without main module

I moved the implementation scripts from `lib` to the project's root
level, changed the test scripts references to the implementations to
their new path, update `package.json` and `README.md` according this
change