Moving sources over from hugs/bitbeambot.