Creation of the master file and the preamble with the necessary library