added the actual LocationCollector java file