refactor
add download-libs.sh
minor edits