remove outdated api.py
use registry and interfaces for Consumer and Store
view name makes xhr predicate unnecessary