initial commit of indexing for CRAM