refactoed the instruction build process to use factories as well as the CPU and CPUKernel factories.  Still need some work in this area, all unit tests pass so far.