MainConfigBean tweaks & preparation for SQL

- Create SqlManager class
- Add "database" section to MainConfigBean
- Add constructors to enums in MainConfigBean