Initialise the directory layout, add a stub main file, and basic npm
configuration.