add a .npmignore to publish js to npm and .gitignore the js
add implementation for scheduler, store, utils and index. Add test for
them all