Created classes Message, created method in storeDB, but there is a problem with date format.