New engine structure

Recoded structure because mysqli doesn't have the same support as mysql.
Also changed php structure.
Changed structure for folders.

Added new database config, changed folders, removed some unused files.
Captcha added to register
Merge remote-tracking branch 'origin/master'

Conflicts:
	index.php
Updated index to latest version

Updated index to latest version