Added purchase try tracking. Moved xml parsing to java-web