MySqlHandler documented

and cleaned up comments