fixed #17
query not anymore a singleton, mysql is now singleton