fix gitignore, search function and db dump