added applysurface() for simplicity, timer class & various frame control classes in PHYSIM class