adding server wrapper as an abstraction between java server code and this application code