Implemented Widgets

Implemented a sample widget and fixed a syntax error in cmsWidget.php
file