Implemented Rails Layout