split proto methods into separate dir