Restructure
Install switch to mysqli