Move lib/model.js to lib/adapter/api/

Because model is for adapter/api/.