+ test class (& form did things automagically?)

added a test class so i can fuck about with some things when i feel
like.

and changing the form around did some weird shit in autogenerated code,
idk, so.
+ constructor & implemented IDisposable interface

added a constructor to the db class.

implemented the disposable method.