split files and add style