Merge pull request #2 from aravindbargurhiriyannaiah/codeRefactoring

More code refactoring as before
changes for central repository
delete the toString function
change names, add sha256 handler, fix samples
add doc
change names and types
Use equals instead of == to facilitate Client creation