changed back to storing all chromosomes in a single table + refactoring