added example for generating a class
added return $this to all property settings
fixed broken unittests
added example for method generation