Don't allow adding events in construct function for components
Removed `addFunction` and updated all components respectively.
Removed a couple useless components and update samples