Changed variables to static, implemented serializables (Lesson 8)