Added functionality

Added makeGate and removeGate commands.