bitbeambot code moved in own module
global exports var