index.py - To be used by client apps