wrap bus logic in a class.