Refactored the function for getting labels
Added titles to be used as labels in the messages
Added example for callbacks
Added rules for tos