Moved exceptions
Added ViewManager and an interface for indexing and querying a view