Added a conversion to fasta main class