Refactor models and node_api

I would like to hear a little more about how that is_deleted column is to be used.