Implemented thread as an example. The bot is spawned through loading the index page currently