Working on reorganizing the program to make more sense later.
Compartmentalized code!
Merged reorganized code.