Create adapter.rb