Move swig to tools directory

Move the `swig` directory as discussed in #2384.