refactoring whole reviews app