Adding pure Java text implementation