Added PiMessageCallbacks abtract class.
Implemented all methods except the write method