initial structure of the csma layer designed.
preliminary implementation of csma.