issue #35
Add long simple type support.
issue #36
Add support for complex type self referencing