Refactored slave code into slave subdirectory and master
code into master subdirectory.  bus.c now includes only code
common to both master and slave logic.