version 0.0.3

Fix some bugs. Add events.