refactor bitcoinium module