Restructured some code

So pretty much control menu is filled with the control menu, we need to
add the events for those and we need to finish the gui because it is
hard for me to make events for things that arent there yet.