Updated package.json to include a main fn