Modularized locationsParser