Pre-create the root node

Also start passing permissions into the Effects module.

Signed-off-by: David Scott <dave.scott@citrix.com>