Create main.js

Main file for initialising node-file-service.