refractored message handling to context.send(target,message)