Added API for MySQL Interaction