Cleaned up use statements in Application
Added CachedDispatcherFactory base class and test