bam refactor so all bam applications are contained in bam folder