Updated repository class
Added algorithm for city search