restructure alebot.py (change class order and similar).