API; Improve the usage of the core objects

These changes avoid the need of creating the sequence collection objects
starting off of FASTA records.