added a basic loader for the protocol format