basic reader working, bits now in memory in a structured way