Basic functionality done, publishing to npm