Added the http get and set request to pull the messages. Also, added the
timer task to pull the message for every 5 sec