Spin-Based MOSFET and Its Applications