[2738] Added whole funcionalities. Data read from xml.

https://gist.github.com/add00/9ba4b2283866c6af9926#file-gistfile1-txt