Added initial service definitions. Created the skeleton for ClassMetadata and related factory services.