added db connection
added settings page
added main report table