Main class now reads the data from the file.
Merging conflicting changes.