Updated r2b with PCB data structure and some early stages of the functions required. I think it is mostly working at this point.