Add build and tests - fixes #4

Also added package.json.