Add bintray release repository
code refactoring & simplification
 * removed some of the classes and methods
 * encoder and decoder are not thread safe, thus they may be reused.