Optimizing Age Of Information And Beyond In Wireless Networks