Bitomancer class, closes #313