category folder and file

category folder and file, optimize folder/file more responsibility and
the structure more clear.