Moved bchan to lib