add examples folder to git ignore
add libarchive dependency
add libarchive support and disable others
refactor code a bit and add work window