added a random Key generator and started message object