Added Publisher class methods and tested them. Working Well.