Change find package for glog.
Refactor build.
Add logging using glog.