Major update to program structure.

Updated to account for program flow change and Change datatype introduction/implementation for menu. Graphics.py should now be more flexible than it was previously.