Refactor: Migrate binary manipulation and information code to src/bits.