implemented search for localizations
implemented loading of ghosts