Better placement of some objects/variables, makes more sense
Created a new function because main got cluttered; added some Listen stuffs