move setting of NLS_LANG to app factory