Few changes for advertising support

Added a module and class 'right' for advertising.