added properties to Message
Initial support for database