Sample Application based on rail tutorial 4.0