Refactored Bit into Bit and Circuit modules