Adding in the remove methods on the cache

Cache can now
  - Remove namespace
  - Remove structure
  - Remove structure instance

Refactored some method names

Added tests