Added main entry

Added a main entry to package.json so it can be installed by npm and used with browserify.