manually added Bter module from pull request #285, fix forward merging issues, cleaned up a bit.
updated header files in cex.io module