Reworked file loading again hopefully for the last time).
Renamed DbConnector.php to DbConnector.class.php.
Moved Smarty.class.php from /lib/smarty/ to /lib/.
Bugfix for index.php (file loading, again). It actually works now.