Split the BitStream code to their own project