Use logrus as logger
Add deprecated field for unit and median
Add base class for datum