move pb def from src/common to src/proto