First commit, adds all the processing and importing code for the dashboard.