CLOUDIFY-1808 Add global plan to definitions; Extract import loading logic to general resource loading logic;