Add device source code