Play Framework based calculator