Register and spawn entities