Added ServerInterface and serverMock class