fix -v argument parsing
include header
introduce threaded memory workers