Small changes in parse BAM job. Working version - before radical change to encapsulate entities in objects