Change vertex/edge class and data type encoding to byte