remove unnecessary file names
do next version of main loop of static compression
add headers of write functions. add new macros
add new functions. bug fixes