Fixes #2. Secure method DB::connectDB
Merge pull request #3 from ispiridonov/master

Fixes #2 Secure method DB::connectDB
Refactored module Image.pm
Removed unnecessary functions in the module File.pm
Posted 'default_sort' field in DB::getList
Merge pull request #4 from ispiridonov/master

Refactoring