option for generation of separate files for widget and handler modules added