Refactor SpawnEnemyController

Refactored the SpawnEnemyController so that spawning of enemies was
handled in its own function call