Added memory system - with a char* datablock and a command history linked list.