create interface.
add eventdispatcher
modified method.
add sample.html