example code samples of play framework