A toolkit for distributed mathematical modeling