implement TinyWeb framework in Java