Add cursor.rb to engine