add index.py and status.py for configuring elasticsearch