Added functions for exiting program and disconnect from DB (not working
yet).