Added spawn api.

- Adds a api to spawn the custom skeletons.