Check out the CMS and you would find how the code is organized by it. There is no general rule that you have to be doing it in a particular way.