added spawning and preliminary GUI