Update LocationMain.java

Added some parser logic