Added mob spawner

Use `unique_ptr` instead of `auto_ptr`.