Read DB config from Yaml file. Update maine page style

TODOs:

- [ ] Read from database.yml file
- [ ]  Update maine page style