Db structure view

Hi , added a functionality that ouput the database structure in a table view.