Completed up to video 30: Still refactoring the code by using the functions openConnection and closeConnection to quickly and easily open and close the connection