Adding constructor

Commenting out create_widget for now, it throws an notice/warning.
Moving widget code to its own file; refs #4