Added missing requires.
Added inputFolder configuration.
Fixed sorting from newer to older.
Created template.js.
Created initial working main file.