made a new class to control the bitmessage logic