restricted separate entity and component registries
into a single module.

created a memory storage module which acts as the
default persistence store.