Added array2xml() method
Added private controller's method

To create a private method, its name have to start with "underscore"