btce: some cosmetic changes and refactoring