MySQL Connecting

- Structured global settings
- add connect and get from mysql database