Pass on config, register module http handlers

Jira issue: WP-1054