Several minor changes

- database.yml -> config.yml
- exposed GetConfigParameter func
- support "" prefix