Moved connection stuff to Connect.php