added some comments of the newly added methods. Added a new class Configuration to store all configurations of the whole algorithm, including learning mode, the dir of wordnet and opennlp. new configurations can be added in the future if needed.