Tools and example code for libsepa