insert an example main script so as to be used for the integration of Knowledge extraction tool and GUI