Using MySQL.Data for db connection.

- Done some basic code design on SyncController and LoginDaemon