added locale to application context. added system property to initialize application context