Some common erlang modules, types and macros used by DECK36