added cache function for index search in rating and implemented cache class singleton
new build