added memory abstraction as bot.memory