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