what are the components of memory