Resistive switching random access memory (RRAM) - scaling, materials, and new application