Linked the Database Connection to the rest of the script...
Fixed a typo in the core/Model.php, to turn public the dbconnection...