Add database list populating for main page, also added dynamic table column headers to index,