feat (replica.go, instance.go, message.go)

use glog to print basic logs