Began migration to basebot
Completed migration to basebot
Added missing code