Improvements

Modified to use Model
- Replaced mysqli function to use Framework DB Class
- Create DB before import SQL
- Fixed dbtype folder when use mysqli
- On Ajax model they just check connection, database will be created if not exists during install process.