add subtypes caching to the ClassScanner
add the ClassScanner cache to the common cache API