Hardware Swapping

Added Hardware Swapping funcationality