Implemented File -> Quit menu and opened connection to database.