Added wigdets

Added widgets and dynamic widget support