Adding pure Java text implementation
merge PR #8