Added struct bitproxy and a couple of functions. Nothing implemented yet.