Removed print message
Avoiding the log prints
Created the procmsg method

This method was created to handle the incoming messages