implemented delete source
improved search in module lex by returning typology