added a small user interface
added simple UI and comments