Implemented program interface layer for IR.h and IR.cpp; also added a num_elements function to RingBuffer
Removed empty IR functions
Merged program and physical layer code and added debug serial statements