All tables' names are abstracted into config
Added function from Ventus to calculate the session in order to set control table before sync process
Added DEBUG mode to test sync script
Added Drop to all temporary tables before sync process
Updated timestamp and version
Unset variable to avoid memory leak