outsourcing handle_message to dynamic handler module