Message handling coded/not tested
Deleted classes not in use.
Log added.