Many changes to make code more modular. In particular in genbank.py