Creating location parser