functional GUI

still need to write the functions to read contents, etc