reorg files
set headers
add .depend and META.in