add toXml method, optimized code
improve validation method
add docs
adjust methods
fixed docs
add todo helpers
Merge pull request #11 from bennya8/2.0.0

2.0.0