commit 4

continued integration of data structure and gui. errors on find at the
moment, but we'll fix that eventually. added submit and clear buttons to
gui.
commandline thing. hope it works.