working on code generation, also added DynamicAccessorWrapper.cs
fixed constructor