Switch from SQLServer to MySQL

Changes in the database class to use MySQL instead of SQL Server.
Included references for MySQL