Add support for Erlang R16

Hi Kresten,

This PR adds support for Erlang R16 by replacing parameterized modules with tuple modules.

Cheers,
syl20bnr