adding caching to spawningtool
adding caching to the analyzer