Don't escape strings to / from Perl
Move DEBUG messages to RDEBUG

and clean them up
Document how the data is passed to/from Perl
Move example.pl to mods-config, and clean up the make file