Adding winston mongodb, mail, and console logging in place of 'errorHandler', make it configurable in config.json, add uncaughtException handler in api