create base files and source files