changed widget registration to 1.9 style
Wrapped up v1.0