Setup database steps moved here
Removed logging
Added flags used by glog