add start/stop/next/prev functions + change xml parsing