split format to format and clean

split format to format and clean
add extract
Merge branch 'dev'