Move logic to search projects to ProjectLoader class