Finalizing PHY layer. Still need to move away from Arduino code.