Refactored database queries into DAO.
Added fuzzy location query.