Implemented ModelEncoder
Implemented Protobuf formatter