Moved the files into folders server/phone
also added an extra errormessage when database connection not found in founctions.php