Fixed error handling for subgraphs and literals
Fixing conditionals
++comments
rewritten resolver works
Rearranged comments
Added new disableCache test