Syntax update.

Replace assigment attempt with object test.
Improve converters.

Replace old syntax with new one and improve
implementation.
Add documentation and contracts for domain types.
Merge pull request #8 from Conaclos/working

Tests - Update syntax and improve implementation