Move initializer to engine.rb