Cleaned up menu framework (Easier to edit and add them)
Added global control function to reduce redundancy in code