rewrote entire module, moved daemon code to usage examples, added more usage examples