Added spawn_system.lua to create a simple SpawnSystem and created a test factory function in SpawnSystem's constructor.