added main class and botThread