Splitting out bot actions into own module, a good amount of cleanup