* Update database class to latest TFS 1.0

* Removed luasql the scripts need to be updated