made a good start refactoring, and cleaning up the binning, so I can include the gene-finding and annotation part