move can functionality to CAN module