sets up most of the app. just need to add a refresh button and additional functionality