Yup, that's how most programs work. First, you program the basic physics, the hit detection, etc, hence the first layer, then you refine said physics, hence the second layer, then you apply said physics to the frames that will later become objects, hence the third layer, then the time, Aka the...