Replace globals with bot storage
Cleanup plugin interface