Lot of changes. Added block for rating part.