fix #7 Nested objects now have 'parent' reference

Additionally user classes are constructed by constructor call.
This has a consequence that __init__ constructor should accept all
defined class attributes and additionaly 'parent' attribute for
nested objects.