added folderization and gesture data recording