Move devices into their own src dir.
Incorporate all cpu math functions directly into CPUDevice.