Update and rename swcobject.cpp to swcwidget.cpp

Lots of improvement!