added basic gui and main "class"