Implemented Rails Layout generator