todo convert all proto to flatbuffer and add models