A exercise using Play framework