take out Mysql.query to mysql.query_interface
add mysql.ping
take out DataObjects to separate file
refactor tests