Made a listener class to handle server-side requests about status information