moving message protocals to scheduler object