New branch for experimental changes done. Creation of custom BitStringFactory.

Some very weird problems arose during debugging. It's imperative to
detect those and merge this branch to master.