CBQE-0: move api.py