moved plugin implementation to an import switch
moved settings to an import switch
updated SearchHistory based on import switch
removed class for api and defined the method in the package
moved constants in package