Added beginning of masterbot