Made custom elements wrapper for widget implementation
Implemented Cycle API for custom elements