Service and controller create function updated and fixed
Configuration object events option added
Example comments and cli runmode support  added