Spin Transport And Current Induced Magnetization Dynamics In Magnetic Nanostructures.