Add db stuff to config file
Fix empty base request error
Add database connector