code clean up
backend code clean

limiting publication search to 5000 for increased search speed
use glog
fix service object life cycle problem
improved index building