added generation of class constructors

Signed-off-by: dvorkinista <villain@noironetworks.com>