Non-Volatile High-Density Memory And Volatile Threshold Switching Devices For Neuromorphic Applications