First version of client/server to mySQL