Made the JTN_db module into a class.
Added a "commit" method to the JTN_db class.