Refactor facets mechanics for models and view