To be implemented: testServer()

An method to test if the server address is valid is to be implemented
Added buttonlisteners for the ui