removal of "hard wired" dependencies in lib/

Removed libraries we're depending on from `lib/` to those automatically pulled in through `npm` via the `package.json` mechanism.