add base event center and some util funtion and base log sys