A simulator-independent API for multi-compartmental modeling