Add source files of console version.