Added dB checks
* Connection yo MySQL
* Checking if cache tables exists