psbot.py to basebot.py