added mysql utility
ummm
uggg
added query test
refactoring