Database new update.
Files are linked to their category and have preview data.
Added DBStatement to run automatically database requests over objects.
Table classes are updated to use this.