add ContextActivity, ContextImageWidget, WidgetBase base files