updated readme with new open function
adding initial callback code