add toString method
add toText method
update docs
Merge pull request #2 from poetic/master

Add toString and toText method