Added data and event API
init and redis