formatting references and adding style files