added getStart() and getEnd() and started path sprite recognition.