Started work on converting the python mysql routines to pure java