some fixes to windows
middleware.admin.buildHeader deprecated
reorganized acp routes