got unit tests and jar working---needs some polish, but working