removed unnecessary rectF allocation
added xml support
update readme