server can take an application, or not, when imported as a dic module.