Moved input code to input folder