Basic Transmitter code

frame work need more attention