Added functionality to decipher incoming messages and task them based on message id