adding api key constructor and renaming EmbeddedService to Embedded