Added spawning.
...lots of stuff...