Added classes to handle MySQL Connectivity and synchronization.