server setup and testing out mercury