updated pubspec for 0.1.1 release
bug cleanup
structure the library correctly
fixes to example