added hook registration to plugin initialization
created infrastructure for HTTP interface