handle unavailable files
fix code structure
add missing installation instruction