add source files for engines and devices