Moved rating framework to theme