refactoring service and config.factory
generate:form update class and dependenci inyection
Merge pull request #32 from dmouse/form_update

generate:form  update uses and dependency injection
fail merge with upstream