Made some inner classes static. Saves memory. If the inner class doesn't reference the outer class, it can be made static.