migrated from spary to scalatra