Ui building select

includes UI changes, new database connection and queries, and resource toggle.