AEM 6.5 adheres to the latest best practices for package management and project structure as implemented by the latest AEM Project Archetype for both on-premises and AMS implementations.
TIP
For further details, see:
The AEM Project Structure article in the AEM as a Cloud Service documentation for how to structure modern AEM projects.
The AEM Project Archetype documentation for how to start a new AEM project using the archetype.