Rial tutorial Machel Hartl : sample application