- Move sexp related functions and macros to libsexpr - Split connection.c to sntlapi.c and sntl.c - Optimize a lot of repeating code, sometimes to static inline - Move cache related functions to libtdata