Moved all to separate modules
Split ranking and metrics
Moved to analyze package
Renamed to main
Construct data type