split up protocol\__init__.py