fix: handle lists correctly in modular.lib
chg: base modstd.lib on modular.lib
add: tests for modstd.lib
Merge pull request #582 from steenpass/modstd

base modstd.lib on modular.lib