implement some mock apis and add/remove event's description