add task configurations in XML and get rid of commons lang2