Class Messaging added. Rework of messages is incomplete.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>