Fix insets

I can break it out into a generic class fro readnf and writing any model