Pin Mapping

Interface pin mapping added at beginning of file. More clear comments throughout code.