more functionality added
added package.json and some basic browser tests