Added the facet api framework