Changed a ton of things, moved things from the main class to the Listeners.java and Utilities.java classes.