adds locals & configures w/ koa
adds config.json & wires up middleware to localize it
adds logs dir so "pm" doesn't bomb on initial load