improved logging of database open and close events
created a new connector for only care groups to improve code readability
fixed the issues with the database intialization by splitting the table creation scripts into three strings.