adding support for mocha and blanket/travis coverage for server code. also restructed client code and base bones laid for client mocha and blanket testing