make shared library of single widget
added rudimentary glade support