Move oapi.rb to lib/