Added using of database methods.
Merge remote-tracking branch 'origin/master'

* origin/master:
  changed data.xml
  corrected bugs