Week 1 Day 5 homework

Wrestled with the understanding of working with hashes nested inside objects.
Refactoring the main files to reduce lines of code, grouping logic with the correct object and simplifying logic.