Connected the spec to the widget module.
Added widget resize and drag handlers.