Organize Code part I

Its always good to look at your code and organize it by behavior
This code shows how the setup code will look after you move the listeners and structure spawning into their own functions