The connection/protocol class should probably not be messed with, as this is the base for talking to the empeg.

Above this, you could replace it with what you liked: replacing the protocol is probably going to be very painful though. The protocol class has functions to do everything you need - create/write/read files, mount the disks ro or rw, rebuild databases, etc.

Hugo