Refactor thread scheduling and optimize
replace shared_ptr by unique_ptr where possible
Make everything thread-safe
Put authentication state in kevent struct, remove VMAC_Checker class and fix concurrency issue