refactoring

- removed unused references
- moved quality score from aggregates to search index
- removed denormalized references until they are needed