Split bot class and example main method into separate files