Added abstract labeledwidget class and started to implement base methods.