Widget Class

Added a basic widget class