added: mocha test files; changed: order of boot() and order and structure of server()
added: pubsubs for files