* An initial impliment of log_manager.h

Migrate log_manager and use thrift as serialize format.