Generalization, error handling, RF and Uplink setup added