added basic file IO for bed file group and bare bones main program.