make it possible to configure modules before running an app