API complete
1.0 release ready, added a couple of unit tests