Modify require
Remove parameters wwwDir, rootDir
Create AppModule
Use navbarBuilderControl factory
Use doctrine extension