refactoring: added inspector.js + tests
updated readme