Restructed code. Starting new version of hitbot. Moving some functions into library file bot_base.py