Move the queue 'Directory' access into a sub-module.

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