update sample config w/ module in addition to entrypoint
add load_plugin method
add pre and post hooks