added message_card module in util.py
added message_card module
made changes so that it render both id and raw endpoints