Remove stats, sync_log and thread wrappers.


let's keep the core part clean and add any tracking wrappers later as needed.