Added support for recursive input directory scanning (#12)