analyser and basic gui added