Refactoring, no functionality change
Refactored MemStore
Some interface changed and refactoring
Updated Jenkins config files