created BaseNumberGene
added chargene
added main functions to tests