bbscontroller
rivies the structure of database