Added Message entity
Fixed LoggerFactory