added basic gui

TODO: comments, confirmation, etc.