Almost got rid of fact relations, only remaining in CSV export.
Renamed analysis package to statistics.