Updated some files to fix result creation from MySQl Resultant set