Removed all code dealing with flat file and added repository class in anticipation of using database instead.