add require yaml in engine.rb