add spawner class