Added a mysql handler for connection and some test code