Added swap plugin

Added swap plugin