Full revision to use wp_widget class and make the plugin able to produce multiple widgets