add rating functional
Merge pull request #2 from ta6asko/add_stars_ratings

add rating functional