Moved protocol buffer code into main engine project.