major updates to class - support mysqli

* Changing class to use/support mysqli
* Checking if all variables are set first before use
* Add form dropdown UI change