added folder structure and ftdetect