implemented voting
implemented trivial similarity calculation
preparations for more than one app using the same logic