common.py: elasticsearch.search() added, bstrap.py: initHook() moved after all boostrap function