Refactored code and organized imports once again.
Created chapter 3 structure.