refactored search query, added readme