Classes now take care of reading in input and assigning them to appropriate values