Worked on the user interface. Added most operations to be possible to use from the ui.