initial impl of pub sub registration