Bring parts of gui together

Made the main gui class and started tying some of the pieces together
into one functional unit.