Added bot reset.
Refactored reset code to an interface.