updated organisation of code (moved some functions around to make it clearer. Also added in low baud rate setting for the RFM22 to maximise range of uplink,