Added two interfaces to work with cache (ResultCache, ReflectionCache), ReflectionDatabaseCheck done, changed dir for tests