Expose namespaced API's that connect the render processes with the main process using electron's IPC feature.