added the database config
I addes the class for show the messages on console