started porting modules + added LevelDB for the bot db