bb repl basic framework