added event dispatching to trigger change and input events
Release 0.0.4