Added BotResult type and Functionality trait.
Implemented basic registration, but User.exists() is broken.