Updated CodeIgniter DB library

Moved the database creation script from root folder to /sql