Fix core.
event basic fix.
add LICENSE and NOTICE.