added DocumentStorage class for intermediate sotrage of documents that need to be proccessed
renamed classes accordingly and rewrote the config.xml