Changed order of parameters so that database files are at the beginning
Moved performLookups into performLookupsWithoutLruCache
Renamed getLocation to performLookups