Anx bot + refactoring