v5

Updated GUI and main class