create folder and categorize the code type