Updated database structure
Fixed the $this->extract_settings malfunction.