Consolidate some testing code into a new DashBoard class that paints the main dashboard and change the main Application class to accommodate this change