new base class and constants for receiver api