Set up GUI framework

need to fix rectangle still.