Feature/nio instance