basic files for libsm