change readme, add open close methods