added optionale graph generation, inputoption for targetclass and automatic start of browser