add log and memorylogger etc.

add log and memorylogger etc.