Move bot logic out of library and merge into one file, remove repeater stuff.