A Deep Learning Approach To Wireless System Design For Channel Sensing, Contention & Estimation