Added the console app that generates dir.js