Give devices a better constructor
Reenablle compilation of devices.cpp