Merge #15: Add support registration

Changes:
1) Changed hash function to SHA256
2) Add support for server/client handlers on registration
3) Correcting models