Some refactoring and FASTA de format stuff.