Server class has been refactored to satisfy Singleton pattern. Server now also can send events with messages informing about its status.