Theoretical review of heavy flavor physics