move bot classes out