[Wip] Added support for Embed definition

todo:

* [ ] tests