restructure based on https://github.com/EndangeredMassa/node-template