Move constants to const
Use glog instead of log