implement TinyWeb framework in Scala