Square class creation + Material system modifications