added class to create encoded messages