Added simple script to generate a database for python code, fixed wildcard query and now properly handles underscore character