Added code generation capability for the service layer

Service Handler was added, unified all metadata processing capabilities
between code generators for improved performance