Connect to and QuitFrom functions

Let's start messing with the new BotHandler.