refactor: move inkblot.js & utils to `lib` dir