Fix database connection
Update configuration module
Add parentheses to some methods