Error packets added

General cleanup and class cleanup
Function added in Diplodocus to allow a callback before a connection is
removed
General cleanup in fruitadens