Some refactoring, renamed post_initialize to configure, added pre_main and post_main.  Added README