Create input and output folders