Minor refactor
fixed commenting access rights
Added different ranking algorithms