documentation updated to be worked with new data structure
new input data structure implemented and fixes in other modules affected
by this change