main entrypoint and some package.json updates