#163. Added check if user voted already. Added rating helper. Votes structure changed.