ranker based on frequencies implemented
making structural changes
version ready for use at fair