The code now close all SQL connections after used. Added some comments.
Merge pull request #17 from uh-klk/master

The code now close all SQL connections after used. Added some comments.