added LocationParser class without flexicommand
fixed merge conflict