Do scans and mount static dirs and resources via settings
Mount docs static directories via ApplicationCreated subscriber

Get rid of app factory.