share app and env config with controllers