Move config to folder
Introduce config() function
Add base debug to provider
Read database connection from config