Added ServerInterface class.

Added ServerInterface class with convenient function for requesting to
the server.