Initial commit, including core JS and tests
Updated README