Implemented fromProto with new schema. Half compile.
Last changes. Full compile