Simplified applicationContext, added some doc.