update mkdir in imagelib
change all func name to snake_case
change all func name to snake_case 2
fix all used method func global to snake case