moved BCHCodes to PHY layer, MAC now much simplier.  Test script added as aswell.  Need to check codegen next