Add a smarter example bot as well, move common bot functions into
a bothelper module and restructure random bot to use new helper
module.