Added memory plugin

Added memory plugin