Moved all functionality to data controller class. Scoring still not finished.