several changes

- added connection strings
- added appsettings
- refactoring
- style tweaking