Simple blogging engine in Scala