Refactor play framework recipe