Message classes overhaul. Implmentation of several handlers.