Remove trailing spaces
Remove most of the bit API (Fixes #5)