refactor

refactoring intellisense to support multi-document intellisense and
caching