Mode, not environment
Inject resources path into constructor of application