Made the spawning code more sensible
Split create function of level state into several functions
Removed unused files