create base files of the main module