Create private directory for some private modules.
Add private module middleware.