Adaptation of lib/init.js to use lib/platforms-parsers.js