Initial commit of widget code