Added initial complete implementaiton of asGenes

tests are still failing