added unregister function
core

added core/cache/memory